package com.exportservices;

import java.util.List;

import javax.jws.WebService;
import javax.jws.WebMethod;

import org.springframework.stereotype.Service;

import com.exportservices.domain.Client;
import com.exportservices.domain.Color;
import com.exportservices.domain.Curs;
import com.exportservices.domain.Discount;
import com.exportservices.domain.Document;
import com.exportservices.domain.FinDoc;
import com.exportservices.domain.GroupID;
import com.exportservices.domain.GroupSection;
import com.exportservices.domain.Kart;
import com.exportservices.domain.Manager;
import com.exportservices.domain.Price;
import com.exportservices.domain.Rules;
import com.exportservices.domain.Sklad;
import com.exportservices.domain.Tovar;
import com.exportservices.domain.TypeDoc;
import com.exportservices.domain.TypePrice;
import com.exportservices.domain.Val;

@Service
@WebService
public interface MainExport {

	final static int CLIENT=1;
	final static int COLOR=2;
	final static int CURS=3;
	final static int DOCUMENTS=4;
	final static int FIN_DOC=5;
	final static int GROUPID=6;
	final static int GROUPSECTION=7;
	final static int KART=8;
	final static int MANAGER=9;
	final static int PRICE=10;
	final static int SKLAD=11;
	final static int TOVAR=12;
	final static int TYPE_DOC=13;
	final static int TYPE_PRICE=14;
	final static int VAL=15;
	final static int RULES=16;
	final static int DISCOUNT=17;
	
	@WebMethod
	public List<Client> getClientList ();
	
	@WebMethod
	public List<Color> getColorList();
	
	@WebMethod
	public List<Curs> getCursList();
	
	@WebMethod
	public List<Document> getDocumentList();
	
	@WebMethod
	public List<FinDoc> getFinDocList();
	
	@WebMethod
	public List<GroupID> getGroupIDList();
	
	@WebMethod
	public List<GroupSection> getGroupSectionList();
	
	@WebMethod
	public List<Kart> getKartList();
	
	@WebMethod
	public List<Manager> getManagerList();
	
	@WebMethod
	public List<Price> getPriceList();
	
	@WebMethod
	public List<Sklad> getSkladList();
	
	@WebMethod
	public List<Tovar> getTovarList();
	
	@WebMethod
	public List<TypeDoc> getTypeDocList();
	
	@WebMethod
	public List<TypePrice> getTypePriceList();
	
	@WebMethod
	public List<Val> getValList();
	
	@WebMethod
	public List<Rules> getRulesList();
	
	@WebMethod
	public List<Discount> getDiscountList();

	@WebMethod
	public boolean commitChange();
	
	
	
}
